<template>
	<view>
		<block v-for="item in list">
			<view class="Contract">
				<text>创建时间:</text>
				<text>2019-11-29前</text>
			</view>
			<view class="Contract-info-content">
				<view class="Contract-info-text">
					<view class="title-box">
						<view class="title-name">
							<text>亚运城运动员村26栋801</text>
						</view>
						<view class="right"></view>
					</view>
					<view class="Cost-content">
						<view class="Cost-content-box">
							<view class="Cost-lite-box">
								<view>
									<text>水费:</text>
									<text>￥51.5</text>
								</view>
								<view>
									<text>电费:</text>
									<text>￥51.5</text>
								</view>
							</view>
							<view class="Cost-lite-box">
								<view>
									<text>管理费:</text>
									<text>￥51.5</text>
								</view>
								<view>
									<text>杂项费:</text>
									<text>￥51.5</text>
								</view>
							</view>
						</view>
					</view>
					<view class="Cost-Money">
						<text>共计：</text>
						<text>￥418.5</text>
					</view>
				</view>
				<view class="rent-button">
					<view class="rent-button">
						<button hover-class="" type="default" size="mini"  @click="shareFriend">在线咨询</button>
						<button hover-class="" type="default" @click="">马上缴费</button>
					</view>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [1,2,3,4,5],
			}
		},
	}
</script>

<style>
	.Contract {
		margin-top: 20upx;
		line-height: 60upx;
		margin-left: 60upx;
		font-size: 24upx;
		color: #AAAAAA;
		font-family: Arial, Helvetica, sans-serif;
	}

	.Contract text:nth-child(2) {
		margin-left: 20upx;
		color: #F59A23;
	}

	.Contract-info-content {
		border: 1upx solid #F2F2F2;
		margin: 0 25upx;
		padding: 20upx 20upx;
		box-shadow: 5upx 5upx 5upx #E4E4E4,6upx 6upx 5upx #e8e8e8,6upx 8upx 5upx #ececec;
	}
	.Contract-info-content .Contract-title{
		font-family: Arial, Helvetica, sans-serif;
		display: flex;
		justify-content: space-between;
		line-height: 40upx;
	}
	.title-box{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.right{
		width: 14upx;
		height: 14upx;
		border-top: 4upx solid #666EE8;
		border-right: 4upx solid #666EE8;
		transform: rotate(45deg);
		margin-right: 20upx;
	}
	.Contract-info-content .Contract-info-text .title-name text:nth-child(1){
		line-height: 70upx;
		font-size: 32upx;
		color: #333333;
		font-weight: bolder;
	}
	.Cost-content{
		padding: 0 35upx;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 24upx;
		color: #7F7F7F;
		margin-bottom: 20upx;
	}
	.Cost-content .Cost-content-box{
		display: flex;
		flex-grow:1;
	}
	.Cost-content .Cost-content-box .Cost-lite-box{
		width: 360upx;
	}
	.Cost-content .Cost-content-box .Cost-lite-box text{
		line-height: 50upx;
	}
	.Cost-content .Cost-content-box .Cost-lite-box text:nth-child(2){
		margin-left: 30upx;
	}
	.Contract-info-text .Cost-Money{
		font-size: 22upx;
		color: #7F7F7F;
		margin-left: 45upx;
		align-items: baseline;
	}
	.Contract-info-text .Cost-Money text:nth-child(2){
		font-size: 32upx;
		color: #F59A23;
	}
	.Contract-info-content .rent-button{
		display: flex;
		flex-direction: row-reverse;
	}
	.Contract-info-content .rent-button button:nth-child(1){
		line-height: 45upx;
		font-size: 20upx;
		color: #555555;
		margin-left: 20upx;
	}
	.Contract-info-content .rent-button button:nth-child(2){
		line-height: 45upx;
		font-size: 20upx;
		color: #FFFFFF;
		margin-left: 20upx;
		background-color: #F59A23;
	}
	button::after{
		background-color: rgba(255,255,255,0.1);
	}
</style>
